package com.test

import com.compress.Main
import org.junit.Test

class CompressPicTest {
    @Test
    fun test() {
        var path =
            "E:\\Project\\AWSGame\\GameMania\\staging\\games\\assets\\africaBeast\\help\\1.png,E:\\Project\\AWSGame\\GameMania\\staging\\games\\assets\\africaBeast\\help\\2.png,E:\\Project\\AWSGame\\GameMania\\staging\\games\\assets\\africaBeast\\help\\3.png,E:\\Project\\AWSGame\\GameMania\\staging\\games\\assets\\africaBeast\\help\\4.png,E:\\Project\\AWSGame\\GameMania\\staging\\games\\assets\\africaBeast\\help\\5.png,E:\\Project\\AWSGame\\GameMania\\staging\\games\\assets\\africaBeast\\africaBeast_atlas0.png,"
        path = "F:\\SpineTest2\\backgrounds\\background_basegame.png"

        path = "D:\\WorkSpace\\Idea\\Java\\PackProject\\uploadConfig\\compressImg_2024-05-09_15-33-41.txt"

        //        System.out.println(SystemUtils.IS_OS_WINDOWS);
//        System.out.println(SystemUtils.IS_OS_MAC);
//        System.out.println(SystemUtils.IS_OS_WINDOWS_8);

        // window
//        PicUtils.exec("cmd.exe", "/c", "layadcc", "E:\\Project\\AWSGame\\WonderGame\\Static-Project\\wapGame");

        // mac
//        PicUtils.exec("layadcc", "/Users/boge/Project/AWSGame/slots_ng/release/appGame");
//        PicUtils.commpressPic(path, "40-80");
//        new Main(path);
        Main.main(arrayOf("40-80", path))
    }
}
